//
//  WWIconViewController.m
//  Shopping
//
//  Created by 张湾湾 on 16/8/20.
//  Copyright © 2016年 张湾湾. All rights reserved.
//

#import "WWIconViewController.h"
#import "WWIconView.h"
@interface WWIconViewController ()

@property (nonatomic,strong)UIWebView *webView;
@end

@implementation WWIconViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    NSURLRequest *req = [NSURLRequest requestWithURL:[NSURL URLWithString:self.urlString]];
    
    [self.webView loadRequest:req];
}

- (UIWebView *)webView{
    if (!_webView) {
        UIWebView * webView = [UIWebView new];
        webView.frame = [UIScreen mainScreen].bounds;
        _webView = webView;
        [self.view addSubview:webView];
    }
    return _webView;
}
@end
